# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created: Sun Feb 20 17:54:21 2011
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(583, 637)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.formLayout = QtGui.QFormLayout(self.centralwidget)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.playbackGroupBox = QtGui.QGroupBox(self.centralwidget)
        self.playbackGroupBox.setObjectName("playbackGroupBox")
        self.gridLayout = QtGui.QGridLayout(self.playbackGroupBox)
        self.gridLayout.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.gridLayout.setObjectName("gridLayout")
        self.playPushButton = QtGui.QPushButton(self.playbackGroupBox)
        self.playPushButton.setCheckable(False)
        self.playPushButton.setObjectName("playPushButton")
        self.gridLayout.addWidget(self.playPushButton, 2, 2, 1, 1)
        self.prevPushButton = QtGui.QPushButton(self.playbackGroupBox)
        self.prevPushButton.setObjectName("prevPushButton")
        self.gridLayout.addWidget(self.prevPushButton, 2, 4, 1, 1)
        self.stopPushButton = QtGui.QPushButton(self.playbackGroupBox)
        self.stopPushButton.setCheckable(False)
        self.stopPushButton.setChecked(False)
        self.stopPushButton.setObjectName("stopPushButton")
        self.gridLayout.addWidget(self.stopPushButton, 2, 5, 1, 1)
        self.nextPushButton = QtGui.QPushButton(self.playbackGroupBox)
        self.nextPushButton.setObjectName("nextPushButton")
        self.gridLayout.addWidget(self.nextPushButton, 2, 6, 1, 1)
        self.simpleRadioButton = QtGui.QRadioButton(self.playbackGroupBox)
        self.simpleRadioButton.setChecked(True)
        self.simpleRadioButton.setObjectName("simpleRadioButton")
        self.modeButtonGroup = QtGui.QButtonGroup(MainWindow)
        self.modeButtonGroup.setObjectName("modeButtonGroup")
        self.modeButtonGroup.addButton(self.simpleRadioButton)
        self.gridLayout.addWidget(self.simpleRadioButton, 3, 2, 1, 1)
        self.pausePushButton = QtGui.QPushButton(self.playbackGroupBox)
        self.pausePushButton.setObjectName("pausePushButton")
        self.gridLayout.addWidget(self.pausePushButton, 2, 3, 1, 1)
        self.repeatRadioButton = QtGui.QRadioButton(self.playbackGroupBox)
        self.repeatRadioButton.setObjectName("repeatRadioButton")
        self.modeButtonGroup.addButton(self.repeatRadioButton)
        self.gridLayout.addWidget(self.repeatRadioButton, 3, 3, 1, 1)
        self.randomRadioButton = QtGui.QRadioButton(self.playbackGroupBox)
        self.randomRadioButton.setObjectName("randomRadioButton")
        self.modeButtonGroup.addButton(self.randomRadioButton)
        self.gridLayout.addWidget(self.randomRadioButton, 3, 4, 1, 1)
        self.singleCheckBox = QtGui.QCheckBox(self.playbackGroupBox)
        self.singleCheckBox.setObjectName("singleCheckBox")
        self.gridLayout.addWidget(self.singleCheckBox, 3, 5, 1, 1)
        self.consumeCheckBox = QtGui.QCheckBox(self.playbackGroupBox)
        self.consumeCheckBox.setObjectName("consumeCheckBox")
        self.gridLayout.addWidget(self.consumeCheckBox, 3, 6, 1, 1)
        self.seekSlider = phonon.Phonon.SeekSlider(self.playbackGroupBox)
        self.seekSlider.setObjectName("seekSlider")
        self.gridLayout.addWidget(self.seekSlider, 4, 2, 1, 5)
        self.volumeSlider = phonon.Phonon.VolumeSlider(self.playbackGroupBox)
        self.volumeSlider.setObjectName("volumeSlider")
        self.gridLayout.addWidget(self.volumeSlider, 1, 2, 1, 5)
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.playbackGroupBox)
        self.playlistGroupBox = QtGui.QGroupBox(self.centralwidget)
        self.playlistGroupBox.setObjectName("playlistGroupBox")
        self.gridLayout_3 = QtGui.QGridLayout(self.playlistGroupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.saveToPushButton = QtGui.QPushButton(self.playlistGroupBox)
        self.saveToPushButton.setObjectName("saveToPushButton")
        self.gridLayout_3.addWidget(self.saveToPushButton, 1, 0, 1, 1)
        self.loadFromPushButton = QtGui.QPushButton(self.playlistGroupBox)
        self.loadFromPushButton.setObjectName("loadFromPushButton")
        self.gridLayout_3.addWidget(self.loadFromPushButton, 1, 1, 1, 1)
        self.licensePushButton = QtGui.QPushButton(self.playlistGroupBox)
        self.licensePushButton.setObjectName("licensePushButton")
        self.gridLayout_3.addWidget(self.licensePushButton, 1, 2, 1, 1)
        self.playlistTableView = QtGui.QTableView(self.playlistGroupBox)
        self.playlistTableView.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.playlistTableView.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.playlistTableView.setObjectName("playlistTableView")
        self.gridLayout_3.addWidget(self.playlistTableView, 0, 0, 1, 3)
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.playlistGroupBox)
        self.searchingGroupBox = QtGui.QGroupBox(self.centralwidget)
        self.searchingGroupBox.setObjectName("searchingGroupBox")
        self.gridLayout_2 = QtGui.QGridLayout(self.searchingGroupBox)
        self.gridLayout_2.setHorizontalSpacing(6)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.searchLineEdit = QtGui.QLineEdit(self.searchingGroupBox)
        self.searchLineEdit.setObjectName("searchLineEdit")
        self.gridLayout_2.addWidget(self.searchLineEdit, 0, 0, 1, 1)
        self.searchPushButton = QtGui.QPushButton(self.searchingGroupBox)
        self.searchPushButton.setObjectName("searchPushButton")
        self.gridLayout_2.addWidget(self.searchPushButton, 0, 1, 1, 1)
        self.loginPushButton = QtGui.QPushButton(self.searchingGroupBox)
        self.loginPushButton.setObjectName("loginPushButton")
        self.gridLayout_2.addWidget(self.loginPushButton, 0, 2, 1, 1)
        self.searchTableWidget = QtGui.QTableWidget(self.searchingGroupBox)
        self.searchTableWidget.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.searchTableWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.searchTableWidget.setRowCount(0)
        self.searchTableWidget.setColumnCount(4)
        self.searchTableWidget.setObjectName("searchTableWidget")
        self.searchTableWidget.setColumnCount(4)
        self.searchTableWidget.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.searchTableWidget.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.searchTableWidget.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.searchTableWidget.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.searchTableWidget.setHorizontalHeaderItem(3, item)
        self.gridLayout_2.addWidget(self.searchTableWidget, 1, 0, 1, 3)
        self.addPushButton = QtGui.QPushButton(self.searchingGroupBox)
        self.addPushButton.setObjectName("addPushButton")
        self.gridLayout_2.addWidget(self.addPushButton, 2, 0, 1, 1)
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.searchingGroupBox)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 583, 25))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QObject.connect(self.searchLineEdit, QtCore.SIGNAL("returnPressed()"), self.searchPushButton.click)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Python vkontakte player", None, QtGui.QApplication.UnicodeUTF8))
        self.playbackGroupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Playback", None, QtGui.QApplication.UnicodeUTF8))
        self.playPushButton.setText(QtGui.QApplication.translate("MainWindow", "Play", None, QtGui.QApplication.UnicodeUTF8))
        self.prevPushButton.setText(QtGui.QApplication.translate("MainWindow", "Previous", None, QtGui.QApplication.UnicodeUTF8))
        self.stopPushButton.setText(QtGui.QApplication.translate("MainWindow", "Stop", None, QtGui.QApplication.UnicodeUTF8))
        self.nextPushButton.setText(QtGui.QApplication.translate("MainWindow", "Next", None, QtGui.QApplication.UnicodeUTF8))
        self.simpleRadioButton.setText(QtGui.QApplication.translate("MainWindow", "Simple", None, QtGui.QApplication.UnicodeUTF8))
        self.pausePushButton.setText(QtGui.QApplication.translate("MainWindow", "Pause", None, QtGui.QApplication.UnicodeUTF8))
        self.repeatRadioButton.setText(QtGui.QApplication.translate("MainWindow", "Repeat", None, QtGui.QApplication.UnicodeUTF8))
        self.randomRadioButton.setText(QtGui.QApplication.translate("MainWindow", "Random", None, QtGui.QApplication.UnicodeUTF8))
        self.singleCheckBox.setText(QtGui.QApplication.translate("MainWindow", "Single", None, QtGui.QApplication.UnicodeUTF8))
        self.consumeCheckBox.setText(QtGui.QApplication.translate("MainWindow", "Consume", None, QtGui.QApplication.UnicodeUTF8))
        self.playlistGroupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Playlist", None, QtGui.QApplication.UnicodeUTF8))
        self.saveToPushButton.setText(QtGui.QApplication.translate("MainWindow", "SaveTo", None, QtGui.QApplication.UnicodeUTF8))
        self.loadFromPushButton.setText(QtGui.QApplication.translate("MainWindow", "LoadFrom", None, QtGui.QApplication.UnicodeUTF8))
        self.licensePushButton.setText(QtGui.QApplication.translate("MainWindow", "License", None, QtGui.QApplication.UnicodeUTF8))
        self.searchingGroupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Search", None, QtGui.QApplication.UnicodeUTF8))
        self.searchPushButton.setText(QtGui.QApplication.translate("MainWindow", "Search", None, QtGui.QApplication.UnicodeUTF8))
        self.loginPushButton.setText(QtGui.QApplication.translate("MainWindow", "Login", None, QtGui.QApplication.UnicodeUTF8))
        self.searchTableWidget.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("MainWindow", "Artist", None, QtGui.QApplication.UnicodeUTF8))
        self.searchTableWidget.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("MainWindow", "Title", None, QtGui.QApplication.UnicodeUTF8))
        self.searchTableWidget.horizontalHeaderItem(2).setText(QtGui.QApplication.translate("MainWindow", "Duration", None, QtGui.QApplication.UnicodeUTF8))
        self.searchTableWidget.horizontalHeaderItem(3).setText(QtGui.QApplication.translate("MainWindow", "Bitrate", None, QtGui.QApplication.UnicodeUTF8))
        self.addPushButton.setText(QtGui.QApplication.translate("MainWindow", "Add", None, QtGui.QApplication.UnicodeUTF8))

from PyQt4 import phonon
